package de.schule.barnimgymnasium.javafx;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.StackPane;
import javafx.scene.text.Text;
import javafx.stage.Stage;

public class HelloAndHallo extends Application {

	@Override
	public void start(Stage primaryStage) throws Exception {
		StackPane pane = new StackPane();
		// HBox pane = new HBox();
		// VBox pane = new VBox();
		Text textDeutsch = new Text("Hallo Welt");
		pane.getChildren().add(textDeutsch);
		// Text textEnglisch = new Text("Hello World");
		// pane.getChildren().add(textEnglisch);
		primaryStage.setScene(new Scene(pane));
		// primaryStage.setScene(new Scene(pane, 300, 250));
		primaryStage.show();
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		launch(args);

	}
}
